package com.smartfactory.sail.vo.item;

import com.smartfactory.sail.entity.ItemWorkingprocedureDevice;
import com.smartfactory.sail.entity.ItemWorkingprocedureInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class ItemWorkingprocedureResp {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long itemId;

    @ApiModelProperty(value = "工序名称")
    private String workName;

    @ApiModelProperty(value = "部门")
    private String dept;

    @ApiModelProperty(value = "工序平均用时")
    private Long averageTime;

    @ApiModelProperty(value = "订单id")
    private Long orderId;

    @ApiModelProperty(value = "已完成数量")
    private Integer completedNumber;

    @ApiModelProperty(value = "问题数量")
    private Integer problemNumber;

    @ApiModelProperty(value = "剩余数量")
    private Integer waitedNumber;

    @ApiModelProperty(value = "总数量")
    private Integer totalNumber;

    @ApiModelProperty(value = "报废数量")
    private Integer wasteNumber;

    @ApiModelProperty(value = "报废率")
    private Integer scrapRate;

    @ApiModelProperty(value = "产品工序设备")
    List<ItemWorkingprocedureDevice> devices;

    @ApiModelProperty(value = "产品工序信息")
    List<ItemWorkingprocedureInfo> infos;
}
